package org.genntii.warehousesystem.domain.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "员工注册实体")
public class EmployeeRegisterDTO {
    @Schema(description = "用户名",type = "String",required = true)
    private String username;
    @Schema(description = "密码",type = "String",required = true)
    private String password;
    @Schema(description = "姓名",type = "String",required = true)
    private String name;
    @Schema(description = "性别",type = "String",required = true)
    private String sex;
    @Schema(description = "婚否 0-未 1-已",type = "int",required = true)
    private int married;
    @Schema(description = "教育程度 1-大专 2-本科 3-研究生 4-博士 5-其他",type = "int",required = true)
    private int education;
    @Schema(description = "联系电话",type = "String",required = true)
    private String tel;
    @Schema(description = "住址",type = "String",required = true)
    private String address;
}
